PParaOptions(PMBool bKeepTog, PMBool bColumnBreak, PMBool bPageBreak, PMBool bIncludeTOC,
short nKeepWith, short nWidow, short nOrphan);
PMBool bKeepTog;
off or 0 (zero)
on or 1 to keep lines of a paragraph together, rather than split between different columns, pages, or graphics
kParmDontCare to leave existing setting unchangedPMBool bColumnBreak;
off or 0 (zero)
on or 1 to specify that a paragraph begins a new column
kParmDontCare to leave existing setting unchangedPMBool bPageBreak;
off or 0 (zero)
on or 1 to specify that a paragraph begins a new page
kParmDontCare to leave existing setting unchangedPMBool bIncludeTOC;
off or 0 (zero)
on or 1 to specify that the paragraph text is included in the table of contents
kParmDontCare to leave existing setting unchangedshort nKeepWith;
kParmNone or 0 (zero)
1 or 2 or 3 to specify the number of lines to remain with the next paragraph (useful to keep headings and text together)
kParmDontCare to leave existing number unchangedshort nWidow;
kParmNone or 0 (zero)
1 or 2 or 3 to specify the maximum lines for widow control
kParmDontCare to leave existing number unchangedshort nOrphan;
kParmNone or 0 (zero)
1 or 2 or 3 to specify the maximum lines for orphan control
kParmDontCare to leave existing number unchanged
PParaOptions(PGetParaOptions& options);
This constructor uses the values from a PGetParaOptions object.Example. Assuming a paragraph is selected and it is a heading, the example specifies the following:
PGetParaOptions savedOptions;
PParaOptions(1, 1, 0, 1 , 0, -2, -2);
...
PParaOptions(savedOptions);
// restore old settings
Comments or suggestions? Contact Adobe Developer Support